home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / cc / NeXT-notes < prev    next >
Text File  |  1993-12-15  |  403b  |  26 lines

  1.  
  2. Message send syntax has been changed from
  3.  
  4.     [ expr selector ... ]
  5. to
  6.     [ expr_no_commas selector ... ]
  7.  
  8. so you can no longer have a comma expression as the receiver.  That
  9. must be explicitly enclosed in parentheses, like
  10.  
  11.     [ ( expr ) selector ... ]
  12.  
  13. ;; maybe fixed
  14.  
  15.  
  16. Initializer syntax is different in C++ and C. 
  17.  
  18. C has
  19.  
  20.     int x[10] = { [4] = 2, [6] = 3 };
  21.  
  22. but C++ has
  23.  
  24.     int x[10] = { [4] 2, [6] 3 };
  25.  
  26.